The following example shows the gauge object:
<gauge name="Gauge1" height="92" width="214" left="341" top="17" visible="true" wallpaper="false" isReferenceObject="false" backColor="#FFFF80" backStyle="solid" lineStyle="solid" lineWidth="4" needleWidth="2" fillColor="#FF8080" foreColor="#004000" legendColor="#400000" needleColor="#0000C0" showLegend="true" sweepStyle="fill" minValue="0" maxValue="60" majorTicks="3" minorTicks="1" digitsAfterDecimalPoint="0" description="Narrow Gauge" fontFamily="Arial" fontSize="10" bold="false" italic="false" underline="false" strikethrough="false" thresholdType="percentage" numberOfThresholds="2">
<threshold thresholdIndex="1" thresholdValue="25" fillColor="purple" blink="true" />
<threshold thresholdIndex="2" thresholdValue="50" fillColor="#FFC0FF" blink="true" />
<animations>
<animateVisibility expression="If TagS2 < 10 Then 0 Else 1" expressionTrueState="visible" />
</animations>
<connections>
<connection name="Value" expression="TestTag4" />
</connections>
</gauge>